<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Open Course</title>
        <link href="resources/css/style.css" rel="stylesheet" type="text/css" />
    </h:head>
    <h:body>
        <section>
            <nav id="menu">
                <div class="test">
                    <ul>
                        <f:view>
                            <h:form>
                                <li class="menu-li">
                                    <h:outputText value="Usuario: " />
                                    <h:inputText value="#{login.loginname}"/>
                                </li>
                                <li class="menu-li">
                                    <h:outputText value="Contraseña: " />
                                    <h:inputSecret value="#{login.password}"/>
                                </li>
                                <li class="menu-li"><h:commandButton value="Entrar" action="#{login.obtenerUsuarios()}"/></li>

                                <!--<li class="menu-li">Quienes Somos</li>
                                <li class="menu-li">Buscar</li>
                                <li class="menu-li">Login</li>
                                <li class="menu-li">Registrarse</li>
                                <li class="menu-li">Registrarse</li>-->
                            </h:form>
                        </f:view>
                    </ul>
                </div>
            </nav>
            <section>
                <img src="resources/img/4.jpg" alt="home"/>
            </section>
        </section>
        <h:link outcome="/pages/test2" value="Show All Contenido Items"/>
    </h:body>
</html>

